<?php
/***************************************************************************
 * 
 * Copyright (c) 2010 , Inc. All Rights Reserved
 * 
 **************************************************************************/
 
 
 
/**
 * @file LogArgumentIntercepter.php
 * @author mall(com@)
 * @date 2010/07/29 13:03:41
 * @brief 
 *  
 **/

final class LogArgumentIntercepter implements IIntercepter
{
    function before(IProxy $proxy,$name,$args)
    {   
        Logger::trace('apiproxy call:%s->%s args:%s',$proxy->getMod(),$name,serialize($args));
    }   

    function after(IProxy $proxy,$name,$args,$ret)
    {   
        Logger::trace('apiproxy call:%s->%s ret:%s',$proxy->getMod(), $name, serialize($ret));
    }   

    function exception(IProxy $proxy,$name,$args)
    {   
    }   
}






/* vim: set expandtab ts=4 sw=4 sts=4 tw=100: */